#include <iostream>

#include "complex.cpp"
int main()
{	
	Complex unu(2,3);
	Complex doi(4,5);
	Complex trei(56,23);
	std::cout<<"Listare element Complex(supraincarcare): ";
	std::cout<<unu;	
	VectorComplex p(unu);
	p.add(doi);
	p.add(unu);
	p.add(trei);
	std::cout<<"\nListarea elementelor(supraincarcare): ";
	std::cout<<p;
	Complex x;
	x=p.suma();
	std::cout<<"\nSuma este= ";
	std::cout<<x;
	return 0;
}
